package com.module.app.widget.keyboard;

import android.content.Context;
import android.content.DialogInterface;
import android.view.Gravity;
import android.view.View;

public class InputBuilder {
    public Context context;
    public CharSequence title;
    public CharSequence content;
    public CharSequence cancelText;
    public CharSequence confirmText;
    public CharSequence editText;
    public CharSequence hintText;
    public CharSequence editText2;
    public CharSequence hintText2;
    public int maxLength;
    public int maxLength2;
    public int inputType;
    public int inputType2;
    public boolean isShowEdit2;
    public boolean singleLine = true;
    public boolean singleLine2 = true;
    public int gravity = Gravity.CENTER;
    public boolean mCanceledOnTouchOutside = true;
    public boolean cancelable = true;
    public View.OnClickListener mOnCancelListener;
    public OnClickListener mOnConfirmListener;
    public DialogInterface.OnDismissListener mOnDismissListener;


    public interface OnClickListener {
        void onClick(InputConfirmDialog dialog, String text);

        void onClick(InputConfirmDialog dialog, String text, String text2);

    }

    public static class OnMyClickListener implements OnClickListener {

        @Override
        public void onClick(InputConfirmDialog dialog, String text) {

        }

        @Override
        public void onClick(InputConfirmDialog dialog, String text, String text2) {

        }
    }

}
